package com.xue.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import com.xue.service.RibbonSkillService;

@RestController
@RefreshScope
public class RibbonController {
	
	@Autowired
	RibbonSkillService skillService;
	
	@RequestMapping(value = "getShop")
    public Object say(@RequestParam String productId , @RequestParam String userId){
        return skillService.getShop(productId, userId);
    }
	
}
